﻿using System.Diagnostics;

namespace System.Runtime.Serialization.Formatters.Binary
{
	public static class BinarySerializerExtentions
	{
		private static BinaryFormatter sf_Formatter;

        [DebuggerStepThrough]
        public static BinaryFormatter GetSerializer()
		{
			return sf_Formatter ?? (sf_Formatter = new BinaryFormatter());
		}
	}
}
